package com.zwy.ubts.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Zhou Wenying
 * @Description:
 * @Date Created in 17:19 2023/4/12
 */
@Data //get set
//@AllArgsConstructor //构造器 全参构造
@NoArgsConstructor//无参构造
public class Admin {
    private Integer adminId;
    private String adminName;
    private String adminPass;

    public Admin(Integer adminId, String adminName, String adminPass) {
        this.adminId = adminId;
        this.adminName = adminName;
        this.adminPass = adminPass;
    }
    public Admin(String adminName,String adminPass){
        this.adminName = adminName;
        this.adminPass = adminPass;
    }
}
